#include <stdio.h>

typedef  int (*pFunc)(int a,int b);

typedef  unsigned int  u32;

int  jiafa(int a,int b)   //   int a;   &a
{
	int sum = 0;
	sum = a + b;
	return sum;
}

int  jianfa(int a,int b)   //   int a;   &a
{
	int sum = 0;
	sum = a - b;
	return sum;
}

int  chengfa(int a,int b)   //   int a;   &a
{
	int sum = 0;
	sum = a * b;
	return sum;
}

int main()
{	
	u32 sum = 0; 
    pFunc phanshu = NULL;
	
	phanshu = jiafa;
    sum = phanshu(5,8);
    printf("sum == %d\n",sum);
    
    phanshu = jianfa;
	sum = phanshu(15,8);
    printf("sum == %d\n",sum); 

    phanshu = chengfa;
	sum = phanshu(15,8);
    printf("sum == %d\n",sum); 

	return 0;
}
